From ee3799f151ed64ba5acde5ea1e33833608c0076a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 30 Oct 2015 17:44:36 -0400 Subject: [PATCH] icon view: Add an element name Not surprising anybody, I decided to call it iconview. --- gtk/gtkiconview.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 4dbf096353..143acb6de6 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -62,6 +62,10 @@ * opposed to a flat list where the mapping to icons is obvious), * #GtkIconView will only display the first level of the tree and * ignore the tree’s branches. + * + * # CSS nodes + * + * GtkIconView has a single CSS node with name iconview and style class .view. */ #define SCROLL_EDGE_SIZE 15 @@ -930,6 +934,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass) GTK_MOVEMENT_VISUAL_POSITIONS, -1); gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_ICON_VIEW_ACCESSIBLE); + gtk_widget_class_set_css_name (widget_class, "iconview"); } static void -- 2.30.2